package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsHomeNewProductDO;
import com.macro.mall.model.sms.SmsHomeNewProductQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsHomeNewProductMapper extends BaseMapper<SmsHomeNewProductDO> {
    long countByExample(SmsHomeNewProductQuery example);

    int deleteByExample(SmsHomeNewProductQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsHomeNewProductDO record);

    int insertSelective(SmsHomeNewProductDO record);

    List<SmsHomeNewProductDO> selectByExample(SmsHomeNewProductQuery example);

    SmsHomeNewProductDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsHomeNewProductDO record, @Param("example") SmsHomeNewProductQuery example);

    int updateByExample(@Param("record") SmsHomeNewProductDO record, @Param("example") SmsHomeNewProductQuery example);

    int updateByPrimaryKeySelective(SmsHomeNewProductDO record);

    int updateByPrimaryKey(SmsHomeNewProductDO record);
}
